package com.lx.dao;

import com.lx.model.PrintTask;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface PrintTaskMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PrintTask record);

    int insertSelective(PrintTask record);

    PrintTask selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PrintTask record);

    int updateByPrimaryKey(PrintTask record);

    List<PrintTask> selectForPrint(@Param("shopId")Long shopId, @Param("orderTime")Date orderTime);
}